Skip to content

feat: add blas/base/dspr #2794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 18, 2024
Merged

feat: add blas/base/dspr #2794

merged 11 commits into from
Aug 18, 2024

Conversation

aman-095
Copy link
Member

Progresses #2039.

Description

What is the purpose of this pull request?

This RFC proposes to add a routine to the symmetric rank 1 operation A = α*x*x^T + A where α is a scalar, x is an N element vector, and A is an N by N symmetric matrix supplied in packed form as defined in BLAS Level 2 routines. Specifically adding @stdlib/blas/base/dspr is proposed.

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the BLAS Issue or pull request related to Basic Linear Algebra Subprograms (BLAS). label Aug 15, 2024
@aman-095 aman-095 added the Feature Issue or pull request for adding a new feature. label Aug 15, 2024
@kgryte
Copy link
Member

kgryte commented Aug 15, 2024

@aman-095 Would you mind porting over the changes from #2760? Thanks!

@kgryte kgryte added the Needs Changes Pull request which needs changes before being merged. label Aug 15, 2024
@aman-095 aman-095 added Needs Review A pull request which needs code review. and removed Needs Review A pull request which needs code review. labels Aug 17, 2024
@aman-095 aman-095 added Needs Review A pull request which needs code review. and removed Needs Changes Pull request which needs changes before being merged. labels Aug 17, 2024
@kgryte kgryte removed the Needs Review A pull request which needs code review. label Aug 18, 2024
Copy link
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @aman-095.

One small comment: I updated the tests to use exact equality, rather than approximate equality, as this API only involves simple addition and multiplication, resulting in whole numbers. Should results include decimal values, then approximate equality is more appropriate.

@kgryte kgryte merged commit da12183 into stdlib-js:develop Aug 18, 2024
11 checks passed
gunjjoshi pushed a commit to gunjjoshi/stdlib that referenced this pull request Aug 21, 2024
PR-URL: stdlib-js#2794
Ref: stdlib-js#2039
Co-authored-by: Athan Reines <kgryte@gmail.com>
Reviewed-by: Athan Reines <kgryte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLAS Issue or pull request related to Basic Linear Algebra Subprograms (BLAS). Feature Issue or pull request for adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants